home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16197 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: explorer.sasknet.sk.ca!not-for-mail
  2. From: carbccc@explorer.sasknet.sk.ca (Collin Carbno)
  3. Newsgroups: comp.lang.c++
  4. Subject: Creating your own sounds in Windows without recording?
  5. Date: 9 Apr 1996 17:06:41 -0600
  6. Organization: ExplorerPlus
  7. Message-ID: <4keqi1$lfv@explorer.sasknet.sk.ca>
  8. NNTP-Posting-Host: explorer.sasknet.sk.ca
  9.  
  10. I wrote a C++ program that writes -- prints out postscript files for music.
  11.  It would really be wonderful, if I could also make the program play the
  12. musical notes.   I have Borland 3.1 C++ and Sound Blaster Pro card. I've
  13. checked through all window API's and the  MIDI type functions I can find,
  14. and while they seem to let one play anysort of wave file, but I don't see
  15. any way short of recording every note to get the program to play a musical
  16. piece.  Also, one would like to superimpose the sounds. 
  17.  
  18.  I know that there is the old sound function for use with dos. 
  19. Sound(unsigned frequency).   Can one form something a little better for say
  20. windows program that would use the sound blaster card -- allowing cords.   
  21.  
  22. Do any of the sound file types have simple format and one could use to say
  23. take a wave form -- drawn by hand, and create a sound file to create that
  24. sound? 
  25.  
  26. Is there some way to directly tell the card you want a given note for a
  27. given duration, and can you que several such notes to the card?  I have an
  28. old tandy computer that has a sound chip in it, the tandy basic could que 3
  29. sounds simulateously to the sound chip.  
  30.  
  31. Collin Carbno 
  32. collin.carbno@sasknet.sk.ca 
  33. Physicist  
  34. Saskatchewan Telecommunications  
  35.  
  36.  
  37.